<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><s:text name="system.title" /></title>
<script type="text/javascript" src="<s:url value="/js/jquery.js"/>"></script>
<script type="text/javascript" src="<s:url value="/js/task.js"/>"></script>
<style>
body{margin:0;padding:0; background:url('<s:url value="/img/top/bg.jpg" />') repeat-x;font-size:12px;}
.fontb{font-weight:bold;}
</style>
<script type="text/javascript">
function logout(){
	if(confirm('are you sure login out ?')){
		top.location.href='<s:url value="/system/Login/logout" />';
	}
}
</script>
</head>

<body scroll="no">
<table width="100%" height="83" border="0" cellpadding="0" cellspacing="0" style="background:url(../img/top/logo.jpg) no-repeat left top;">
  <tr>
    <td width="100%">&nbsp;</td>
    <td align="right" valign="top"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><a href="<s:url value="/system/User/edit2?id=%{#session._current_user.id}" />" target="right"><img src="../img/top/btn2.jpg"  border="0" /></a></td>
        <td width="5">&nbsp;</td>
        <td><a href="<s:url value="/system/TodoEvent/mytask" />" target="right"><img src="../img/top/btn1.jpg"  border="0" /></a></td>
        <td width="5">&nbsp;</td>
        <td><a href="#"><img src="<s:url value="/img/top/btn4.jpg" />" onclick="logout();" border="0" /></a></td>
        <td width="5">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
     <td height="25" align="right" colspan="2">
     <span style="font-family:Arial, Helvetica, sans-serif;font-size:14px; color:#006699">
     Happy new day, <span class="fontb"><s:property value="%{#session._current_user.name}" />!</span>&nbsp;&nbsp;&nbsp;
     <span id="content"></span>
     </span>&nbsp;&nbsp;&nbsp;</td>
  </tr>
</table>
</body>
</html>